package com.ruoyi.system.mapper;

import com.ruoyi.system.domain.vo.GjjSeachLog;
import com.ruoyi.system.domain.vo.GjjSeachLogVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface GjjSeachLogMapper {

    @Select("SELECT DISTINCT name from gjj_seach_log")
    List<GjjSeachLogVo> list();

    List<GjjSeachLog> queryList(@Param("name") String name, @Param("startDate")String startDate, @Param("endDate")String endDate);

}
